package com.eastfair.builder;

import com.eastfair.builder.vo.ReportBuilderVO;
import com.eastfair.core.base.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 报馆搭建商基本信息 feign.
 *
 * @author dqq
 * @date 2022 /12/5
 */
@FeignClient(value = "builder/reportBuilder")
public interface ReportBuilderFeign {

    /**
     * 展商ID查询报馆搭建商基本信息.
     *
     * @param exhibitorId the exhibitor id
     * @return the by exhibitor id
     */
    @GetMapping("/get/exhibitor/{exhibitorId}")
    R<ReportBuilderVO> getByExhibitorId(@PathVariable("exhibitorId") Long exhibitorId);
}